-- GENERATED SPELL FOR [Naga Distiller] --


function spell0_17954(pUnit, Event) --@Warlord\'s Rage,n/a--
pUnit:FullCastSpellOnTarget(31543,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17954', 12000, 1)
end

function Sorts_17954(pUnit, Event)
local choix_sorts_17954 = math.random(0, 0)
if choix_sorts_17954 == 0 then
pUnit:RegisterEvent('spell0_17954', 1, 1)
end
end

function mob17954_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17954', math.random(1500, 3000), 1)
end

function mob17954_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17954_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17954_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17954, 1, 'mob17954_Action')
RegisterUnitEvent(17954, 2, 'mob17954_Leave')
RegisterUnitEvent(17954, 3, 'mob17954_Kill')
RegisterUnitEvent(17954, 4, 'mob17954_Die')
